<%-- 
    Document   : index
    Created on : 11 déc. 2011, 09:36:19
    Author     : user
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Holiday Management</title>
    </head>
    <body>
        <%
            if (request.getSession(true).getAttribute("user.authenticated") != null) {
                out.println("<p>You are logged in as "
                        + request.getSession().getAttribute("user.id")
                        + " - <a href=\"signout.jsp\" >sign out</a>"
                        + "</p>");
            }
        %>
        <h1>Holiday Management</h1>
        <ol>
            <li>
                <a href="./InputHolidayRequestServlet">Input a holiday request</a>
            </li>
            <li>
                <a href="./DisplayPlanningServlet">Display planning</a>
            </li>
            <li>
                <a href="./ValidateHolidayRequestServlet">Validate a holiday request</a>
            </li>
        </ol>
    </body>
</html>
